package org.jsbd.boss.service;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.domian.DaylimitBean;
import org.jsbd.boss.domian.DaylimitBeanVO;
import org.jsbd.boss.domian.channel.ChannelApkConfig;

public interface IDaylimitService {
	
	public Map<String, Object> findDataWithPage(DataGridModel page, DaylimitBeanVO daylimitBeanVO);

	public void save(DaylimitBean dailimitBean);

	public DaylimitBean findDaylimit(Integer id);

	public void modifyDaylimit(DaylimitBean daylimitBean);

	public void delete(Integer id);

	public List<DaylimitBean> findDeltaData(int offset);
	
	public void updateDaylimit(List<ChannelApkConfig> channelApkConfigs, List<DaylimitBean> daylimitBeans);

	public boolean hasMark(String mark);

	public boolean isRepeat(String mark);

}
